<template>
  <!-- logo区域 -->
  <div class="logoAreaBox">
    <div class="logoArea">
      <div class="left">
        <img src="@/assets/imgs/logo.png" alt="" @click="toHome">
      </div>
      <div class="right">
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "myLogoArea",
  data() {
    return {

    }
  },
  methods: {
    toHome() {
      this.$router.push({ name: 'Index' });
    }
  }
}
</script>

<style scoped lang="scss">
// logo 区域
.logoAreaBox {
  align-items: center;
  background: #fff;
  box-shadow: 0 8px 15px -5px rgba(0,0,0,0.1);
  display: flex;
  height: 90px;
  width: 100%;

  .logoArea {
    margin: 0 auto;
    width: 90%;

    .left {
      cursor: pointer;
      height: 40px;
      width: 272px;

      img {
        height: 40px;
        width: 272px;
      }
    }
  }
}
</style>